package com.easy.dao;

import com.easy.bean.Product;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductDao {
    List<Product> list(@Param("product") Product product, @Param("page") Page page);
    Product getProductByID(@Param("id") Integer id);
    int count(@Param("product") Product product);

}
